//
//  DYTableViewController.h
//  ShanghaiCard
//
//  Created by 帝云科技 on 2018/11/1.
//  Copyright © 2018 帝云科技. All rights reserved.
//

#import "DYViewController.h"
//#import "DYModel"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, DYTableViewStyle) {
    DYTableViewStylePlain = 0,
    DYTableViewStyleGrouped
};

@interface DYTableViewController : DYViewController<UITableViewDelegate, UITableViewDataSource>
//, DZNEmptyDataSetSource, DZNEmptyDataSetDelegate
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, assign) DYTableViewStyle style;

/**
 隐藏section最后一个cell的底部线
 */
@property (nonatomic, assign, getter=isHideSectionLastCellLine) BOOL hideSectionLastCellLine;

@property (nonatomic, strong) NSMutableArray *sectionArray0;
@property (nonatomic, strong) NSMutableArray *sectionArray1;
@property (nonatomic, strong) NSMutableArray *sectionArray2;
@property (nonatomic, strong) NSMutableArray *sectionArray3;
@property (nonatomic, strong) NSMutableArray *sectionArray4;


/**
 每页列表限制条数
 */
@property (nonatomic, copy, readonly) NSString *limitedListNumber;


/** 初始化数据 */
- (void)dy_configureData;
/** 初始化数据 */
//- (void)dy_configureDataWithModel:(DYModel *)model;

@end

NS_ASSUME_NONNULL_END
